//package com.ChessGame.gameRules;
package com.STI.entite;
public class Utilisateur {
	
	int id;
	String name;
        String mdp;
	long level;
	Partie[] partie;
	
	public Utilisateur(String n,String m, long lev)
	{
		this.name= n;
                this.mdp = m;
		this.level= lev;
	}
	public Utilisateur(String n, String m)
	{
		this(n,m, 01);
	}

    public String getMdp() {
        return mdp;
    }

    public void setMdp(String mdp) {
        this.mdp = mdp;
    }
	
        public boolean jouer(Partie p)
	{
		p = new Partie();
		return true;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public long getLevel() {
		return level;
	}
	public void setLevel(long level) {
		this.level = level;
	}

}
